package array;

public class ArrayMain
{
	public static void main(String[] args)
	{
		System.out.println("==宋徽宗----赵佶==");
		int[] i  = new int[6];
		for(int i1 = 1; i1<= i.length;i1++) 
		{
//			char ch = 'A';
			i[i1 - 1] = i1;
//			ch++;
		}
		for(int i2 = 0 ; i2 < i.length; i2++) 
		{
			System.out.print(i[i2]);
		}
		/**
		 * 二维数组
		 */
		int [][] q = new int [6][3];
		for (int a = 0 ; a < q.length; a++) 
		{
			for (int b = 0; b<q[a].length;b++) 
			{
				q[a][b] = b;
			}
			System.out.println();
		}
		for (int a = 0 ; a < q.length; a++) 
		{
			for (int b = 0; b<q[a].length;b++) 
			{
				System.out.print(q[a][b]+"\t");
			}
			System.out.println();
		}
		/**
		 * 三维数组
		 */
		int [][][] y = new int [4][5][6];
		for(int m = 0 ; m < y.length; m++) 
		{
			for(int n = 0 ;n< y[m].length;n++) 
			{
				for(int z = 0 ; z < y[m][n].length;z++) 
				{
					y[m][n][z] = z;
				}
			}
		}
		System.out.println();
		for(int m = 0 ; m < y.length; m++) 
		{
			for(int n = 0 ;n< y[m].length;n++) 
			{
				for(int z = 0 ; z < y[m][n].length;z++) 
				{
					System.out.print(y[m][n][z]+"("+m+":"+n+":"+z+")"+"\t");
				}
				System.out.println();
			}
			System.out.println();
		}
		
		
	}
}
